from PIL import Image, ImageEnhance


def adjust_color(image, factor):
    enhancer = ImageEnhance.Color(image)
    enhancer.enhance(factor)